home *** CD-ROM | disk | FTP | other *** search
- Path: csulb.edu!davidcho
- From: davidcho@csulb.edu (David Cho)
- Newsgroups: comp.lang.c
- Subject: operator % - compiler error
- Date: 17 Mar 1996 21:07:29 GMT
- Organization: Cal State Long Beach
- Message-ID: <4ihuuh$6ul@hatathli.csulb.edu>
- NNTP-Posting-Host: heart.engr.csulb.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- When I try to compile, I get an erro message for the following line:
-
-
- x=663608941*y%pow(2,32) /*I want remainder*/
-
- But the error message says "illegal use of floating point". What does
- that mean? Isn't % used a an operator to calcuate the remainder?
-